package org.sdp.pearproject.dao.mapper;

import org.sdp.pearproject.dao.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: TaskToTagMapper
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-18
 * @Version: 1.0
 * Table: pear_task_to_tag
 * Comment:
 * 任务标签映射表
 */
public interface TaskToTagMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByCode(String code);

    int deleteByExample(TaskToTagExample example);

    int insert(TaskToTagWithBLOBs record);

    int insertSelective(TaskToTagWithBLOBs record);

    List<TaskToTagWithBLOBs> selectByExampleWithBLOBs(TaskToTagExample example);

    List<TaskToTag> selectByExample(TaskToTagExample example);

    int countByExample(TaskToTagExample example);

    TaskToTag selectByPrimaryKey(Integer id);

    TaskToTagWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    TaskToTag selectById(Integer id);

    TaskToTagWithBLOBs selectByIdWithBLOBs(Integer id);

    TaskToTag selectByCode(String code);

    TaskToTagWithBLOBs selectByCodeWithBLOBs(String code);

    int updateByExampleSelective(@Param("record") TaskToTagWithBLOBs record, @Param("example") TaskToTagExample example);

    int updateByPrimaryKeySelective(TaskToTagWithBLOBs record);

    int updateByIdSelective(TaskToTagWithBLOBs record);

    int updateByCodeSelective(TaskToTagWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TaskToTagWithBLOBs record);

    int updateByPrimaryKey(TaskToTag record);

    int updateById(TaskToTag record);

    int updateByIdWithBLOBs(TaskToTagWithBLOBs record);

    TaskToTagForTags tagsByExample(TaskToTagForTagsExample example);

}
